<h2 class="title">{%if $act eq 'add'%}添加{%else%}修改{%/if%}设备报废</h2>
<form action="index.php?c=zy_scrapped&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">
<table class="tb_term" width="100%">
<tr>
	<td class="tr_td_width01 alignright">报废单据编号</td>
	<td class="tr_td_width03"><input type=text name="scrapped_no"  value='{%$scrapped_no%}' class="input_edit_stand txt-normal"  dataType="Require" msg=""></td>
	<td  class="tr_td_width01 alignright">经办人员</td>
	<td >
		<select name="admin_user_id" class="select_edit txt-normal">
		{%html_options options=$admin_info selected=$admin_user_id%}
		</select>
	</td>
</tr>
<tr>
	<td class="alignright">经办日期</td>
	<td colspan="3">
		<input type=text class="input_date_edit txt-normal" name="mc_mend_time" id="mc_mend_time" maxlength="12" value='{%$mc_mend_time|date_format:"%Y-%m-%d" %}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "mc_mend_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
<!--
<tr>
	<td class="alignright">附件</td>
	<td><input type="file" name="file_path" id="file_path"  value="{%$file_path%}" class="txt-normal" size=40 readonly/></td>
</tr>
-->
<tr>
	<td class="alignright">报废单据备注</td>
	<td colspan="5"><textarea cols="70" rows="3" class="textarea_edit txt-normal" name="plan_notes">需增加字段{%$plan_notes%}</textarea></td>
</tr>
</table>
<p class="btn_right">
	<input type=hidden name='scrapped_id' id='scrapped_id' value='{%$scrapped_id%}'>
	<button type="submit" class="b-default" hidefocus="true"><span><em>{%if $act eq 'add'%}提交{%else%}更新{%/if%}</em></span></button>	
	<button type="button" class="b-default" hidefocus="true" onclick="history.go(-1)"><span><em>返回</em></span></button>
</p>
</form>